##0752-3823061
def isPhoneNumber(text):
    if len(text) != 12:
        return False
    if text[4] != '-':
        return False
    for i in range(0, 3):
        if not text[i].isdecimal():
            return False
    for i in range(5, 11):
        if not text[i].isdecimal():
            return False
    return True


print(isPhoneNumber("0752-1234567"))
